<?php
namespace Admin\Model;

use Think\Model;

class AuthruleModel extends Model {

    protected $tableName = 'auth_rule';


    function _initialize() {

        $this->userModel = M("auth_rule");

    }

    public function rlue($dfdf){
    	if(!$dfdf){
    		return '';
    	}
       $name= $this->userModel->where(array('id'=>array('in',$dfdf)))->field('name')->select();
       return $name;
    }



}